package com.jcl.core.exception;

/**
 * @ClassName ChannelDownloadException
 * @Description TODO
 * @Author yyliu
 * @Date 2018/9/26 10:38
 * @Version 1.0
 **/
public class ChannelDownloadException extends RuntimeException {

    private String code;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public ChannelDownloadException(String msg, String code) {
        super(msg);
        this.code = code;
    }

    public ChannelDownloadException(String msg, Throwable cause) {
        super(msg, cause);
    }

}
